package com.uy.system.common.constant;

/**
 * @Author LY
 * @create 2024/4/23 9:27
 * @Description 系统常量
 */
public class SystemConstants {

    /**token key*/
    public static final String ACCESS_TOKEN = "accessToken";
    /**管理员key*/
    public static final String ADMIN = "superadmin";
    /**用户类型（sys_user系统用户）*/
    public static final String USER_TYPE = "sys_user";
    /**用户key前缀*/
    public static final String SYS_USER_KEY = "sys_user_id:";
    /**用户菜单按钮操作权限key前缀*/
    public static final String SYS_USER_MENU_PERMI_KEY = "sys_user_menu_permi_id:";
    /**用户角色权限key前缀*/
    public static final String SYS_USER_ROLE_KEY = "sys_user_role_id:";
    /**缓存时间2h*/
    public static final Long CACHE_TIME = 2*60*60*1000L;
    /**删除标记 正常*/
    public static final String DEL_FLAG_0 = "0";
    /**删除标记 删除*/
    public static final String DEL_FLAG_2 = "2";
    /**验证码缓存前缀*/
    public static final String CAPTCHA_CODE_PREFIX = "captcha_code:";
}
